package com.wzcl.app.service;

import com.wzcl.app.dao.model.AppUser;
import com.wzcl.app.dao.model.CourseTeacher;
import com.wzcl.app.model.common.MyPage;
import com.wzcl.app.model.dto.CourseTeacherDto;

import java.util.List;

public interface CourseTeacherService extends BaseService<CourseTeacher,CourseTeacherDto>{
    CourseTeacher addCourseTeacher(CourseTeacherDto courseTeacherDto);

    CourseTeacher delCourseTeacherById(Integer id);

    CourseTeacher updateCourseTeacher(CourseTeacherDto courseTeacherDto);

    CourseTeacher getCourseTeacherById(Integer id);

    List<CourseTeacher> getCourseTeacherList(CourseTeacherDto courseTeacherDto);

    MyPage<CourseTeacher> getCourseTeacherPage(CourseTeacherDto courseTeacherDto);

    void refreshTeacher(AppUser user);
}
